package org.peoples.users {
	
	import flash.events.Event;
	
	public class UserPoolEvent extends Event {
		
		public static const USER_ADDED:String = "UserPoolEvent.USER_ADDED";
		public static const USER_REMOVED:String = "UserPoolEvent.USER_REMOVED";
		
		private var _user:User;
		
		public function UserPoolEvent(type:String, user:User, bubbles:Boolean = false, cancelable:Boolean = false):void {
			super(type, bubbles, cancelable);
			
			this._user = user;
		}
		
		public function get user():User {
			return this._user;
		}
		
	}
	
}